Skip to content

Conversation

@KAMALDEEN333
Copy link
Contributor

Built the main dashboard view displaying all escrows associated with the connected wallet, with filtering, sorting, and status-based categorization.

Requirements and Context were achieved
Background:
Users need a centralized view to manage all their escrow agreements
Dashboard serves as the primary navigation hub after login
Quick status visibility enables timely actions

Problem:
Users have no way to view their existing escrows
No visibility into pending actions required from user
Cannot track escrow lifecycle without individual lookups

Success Criteria was achieved
Dashboard page at /dashboard
Tabs/filters: All, Active, Pending Confirmation, Completed, Disputed
Escrow cards showing: title, amount, counterparty, status, deadline
Sort by: date created, amount, deadline
Search by title or counterparty address
Empty states for each category
Quick actions: View Details, Confirm, Dispute (context-aware)
Pagination or infinite scroll for large lists
Real-time status updates (polling or WebSocket)

Impact:
Central hub for all escrow management
Improves user efficiency and engagement
Reduces support requests about escrow status

Suggested Execution
Fork and branch from main → feat/escrow-dashboard
Create a dashboard page at src/app/dashboard/page.tsx
Build components in src/components/dashboard/:
EscrowCard.tsx
EscrowFilters.tsx
EscrowList.tsx
StatusTabs.tsx
Implement data fetching with React Query in src/hooks/useEscrows.ts
Create escrow service in src/services/escrow.ts
Add search functionality with debounced input
Implement pagination with cursor-based approach
Build empty states with contextual CTAs
Add loading skeletons for better UX
Test and Commit

Testing Requirements:
Dashboard loads escrows for connected wallet
Filters correctly narrow displayed escrows
Search finds escrows by title and address
Sorting changes list order correctly
Empty states display for each filter with no results
Pagination loads additional items
Status badges reflect correct escrow state

Closes #12
Escrow Dashboard

@KAMALDEEN333
Copy link
Contributor Author

Hi @KuchiMercy and @Cedarich pr has been sent kindly review

@Cedarich Cedarich merged commit 991c6f6 into StayLitCodes:main Jan 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Escrow Dashboard

2 participants